package com.wsd.jing.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * All rights Reserved, Designed By www.tom.com
 *
 * @author tom
 * @version 1.0.0
 * @projectName: jing
 * @packageName: com.wsd.jing.DTO
 * @className: UserRoleDTO
 * @description 用户角色查询参数
 * @createDate 2022/11/15 14:57
 * @copyright 2022/11/15 14:57 www.tom.com Inc. All rights reserved.
 */
@Getter
@Setter
@ToString
@ApiModel(value = "UserRoleDTO对象", description = "用户角色查询参数")
public class UserRoleDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "角色ID不能为空")
    @ApiModelProperty(value = "角色ID")
    private Integer roleId;

    @ApiModelProperty(value = "用户名称")
    private String name;

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "手机号")
    private String mobile;
}
